@arambecker No my approach would be a bit more.
A tool to find duplicates.
As I said in my first post. If you have selections of several regions.
Maybe 1000 roms it would be usefull to search for a gametitle and to select duplicates.
Game 1 (J)
Game 1 (U)
Game 2 (JUE)
Game 3 (J)
Game 3 (E)
You already programmed delimiter so there needs "just" to generate an automatic search term.
That's not the way your script is intended to work and I think it will need a heavy rework. But this would be usecase, too
ROM Names > Automatic generated search term
Game 1 (J) > Game 1 (
Game 1 (U) > Game 1 (
Game 2 (JUE) > Game 2 (
Game 3 (J) > Game 3 (
Game 3 (E) > Game 3 (
Maybe @meleu can say more to this?
Welcome on board :)